package com.peanut.devlibrary;

import android.content.Context;

/**
 * Created by anonymouslystudio on 2017/6/13.
 */

public class LibContext {
    private Context ctx;
    private LibContext(){

    }

    private static final class Holder{
        public static final LibContext instance = new LibContext();
    }

    public static LibContext getInstance(){
        return Holder.instance;
    }

    public void init(Context ctx){
        this.ctx = ctx;
    }

    public Context getContext(){
        return ctx;
    }


}
